#!/bin/bash

gcc ./decode_video.c -lavcodec -lavutil
#./a.out cam_front_120_0.h265 ./out/
#ffplay -f rawvideo -pixel_format yuv420p -video_size 3840x2160 -i ./out/-10

#gcc ./hw_decode.c -lavcodec -lavutil -lavformat
#./a.out cuda ./cam_front_120_0.h265 ./out/aaa
#ffplay -f rawvideo -pixel_format nv12 -video_size 3840x2160 -i ./out/aaa

#gcc ./encode_video.c -lavcodec -lavutil
#./a.out aaa.video mpeg4
#./a.out aaa.video libx264
#ffplay aaa.video
